#pragma once
#include <d3d9.h>
#include <d3dx9.h>
#include <time.h>
#include <stdio.h>
#include "Information.h"
class GraphicsBuffer
{
private: 
	LPDIRECT3D9 _d3d;
	LPDIRECT3DSURFACE9 _backbuffer;
public:
	LPDIRECT3DDEVICE9 _d3ddev;
	GraphicsBuffer();
	~GraphicsBuffer();
	bool Inint_Direct3D(HWND, int,int);
	LPDIRECT3DSURFACE9 LoadSuface(char * , D3DCOLOR);
	void BeginRender(HWND, LPDIRECT3DSURFACE9);
	void EndRender();
};